package com.alks.entity.data.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * <p>
 * 
 * </p>
 *
 * @author Tan
 * @since 2024-03-01
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("PC_OUT_LIST_DETAIL")
@ApiModel(value="PcOutListDetail对象", description="")
public class PcOutListDetail implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(type = IdType.AUTO)
    @ApiModelProperty("主键")
    private Integer id;

    @ApiModelProperty(value = "公司ID",name = "companyId")
    private String companyId;

    @ApiModelProperty(value = "补料单号",name = "slipNo")
    private String slipNo;

    @ApiModelProperty(value = "外发日期",name = "purDate")
    private LocalDateTime purDate;

    @ApiModelProperty(value = "负责厂商",name = "vendor")
    private String vendor;

    @ApiModelProperty(value = "指令ID",name = "lotNo")
    private String lotNo;

    @ApiModelProperty(value = "型体",name = "style")
    private String style;

    @ApiModelProperty(value = "颜色",name = "color")
    private String color;

    @ApiModelProperty(value = "序号",name = "seqNo")
    private BigDecimal seqNo;

    @ApiModelProperty(value = "工艺",name = "process")
    private String process;

    @ApiModelProperty(value = "部位名称",name = "partName")
    private String partName;

    @ApiModelProperty(value = "操作时间",name = "sysDate")
    private LocalDateTime sysDate;

    @ApiModelProperty(value = "操作人",name = "sysUser")
    private String sysUser;

    @ApiModelProperty(value = "流水号",name = "sysUser")
    private String reqNo;

    @ApiModelProperty(value = "外发数量",name = "purQty")
    private BigDecimal purQty;

    @ApiModelProperty(value = "备注",name = "purMemo")
    private String purMemo;

    @ApiModelProperty(value = "交期",name = "deliveryDate")
    private LocalDateTime deliveryDate;

    @ApiModelProperty(value = "单价检核",name = "cfmFlag")
    private String cfmFlag;

    @ApiModelProperty(value = "检核时间",name = "cfmDate")
    private LocalDateTime cfmDate;

    @ApiModelProperty(value = "检核人",name = "cfmUser")
    private String cfmUser;

    @ApiModelProperty(value = "单价",name = "price")
    private BigDecimal price;

    @ApiModelProperty(value = "金额",name = "amt")
    private BigDecimal amt;

    @ApiModelProperty(value = "结算标志位",name = "financeFlag")
    private String financeFlag;

    @ApiModelProperty(value = "结算时间",name = "financeDate")
    private LocalDateTime financeDate;

    @ApiModelProperty(value = "结算人",name = "financeUser")
    private String financeUser;

    @ApiModelProperty(value = "片数",name = "cutNum")
    private BigDecimal cutNum;

    @ApiModelProperty(value = "结算月份",name = "financeYymm")
    private String financeYymm;

    @ApiModelProperty(value = "结算方式",name = "accountName")
    private String accountName;

    @ApiModelProperty(value = "结算单号",name = "balanceNo")
    private String balanceNo;

    //数据类型对不上以后按照这个来
    @ApiModelProperty(value = "0 冲裁外发 1 工艺外发  2 补单外发 3 指令外发",name = "outDispatchType")
    private BigDecimal outDispatchType;

    @ApiModelProperty(value = "是否扣除预补数:1 是;0 否",name = "subSurplusFlag")
    private String subSurplusFlag;

}
